<template>
  <div class="home">
    404
  </div>
</template>
<script>
  import { mapActions } from "vuex";
  export default {
    data() {
      return {};
    },
    filters: {},
    created: function () { },
    watch: {},
    mounted() {
      window.addEventListener("scroll", this.menu);
    },
    methods: {
      menu() {
        this.scroll =
          document.documentElement.scrollTop || document.body.scrollTop;
        console.log(this.scroll);
      },
      ...mapActions([])
    }
  };
</script>
<style scoped>
  .home {
    border: 1px solid red;
    min-height: 100rem;
    width: 80%;
  }
</style>